local PROMO_COST = 20000

function onSay(cid, words, param, channel)
	local integer vocation = getPlayerVocation(cid)
	if isPremium(cid) then
		if getPlayerMoney(cid) >= PROMO_COST then
			doPlayerRemoveMoney(cid, PROMO_COST)
			
			for i=1,24 do
				doPlayerAddOutfitEx(cid, i, 3)
			end
				--[[
					doPlayerAddOutfitEx(cid, 24, 3)
					doPlayerAddOutfitEx(cid, 23, 3)
					doPlayerAddOutfitEx(cid, 22, 3)
					doPlayerAddOutfitEx(cid, 21, 3)
					doPlayerAddOutfitEx(cid, 20, 3)
					doPlayerAddOutfitEx(cid, 19, 3)
					doPlayerAddOutfitEx(cid, 18, 3)
					doPlayerAddOutfitEx(cid, 17, 3)
					doPlayerAddOutfitEx(cid, 16, 3)
					doPlayerAddOutfitEx(cid, 15, 3)
					doPlayerAddOutfitEx(cid, 14, 3)
					doPlayerAddOutfitEx(cid, 13, 3)
					doPlayerAddOutfitEx(cid, 12, 3)
					doPlayerAddOutfitEx(cid, 11, 3)
					doPlayerAddOutfitEx(cid, 10, 3)
					doPlayerAddOutfitEx(cid, 9, 3)
					doPlayerAddOutfitEx(cid, 8, 3)
					doPlayerAddOutfitEx(cid, 7, 3)
					doPlayerAddOutfitEx(cid, 6, 3)
					doPlayerAddOutfitEx(cid, 5, 3)
					doPlayerAddOutfitEx(cid, 4, 3)
					doPlayerAddOutfitEx(cid, 3, 3)
					doPlayerAddOutfitEx(cid, 2, 3)
					doPlayerAddOutfitEx(cid, 1, 3)
				]]--
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have bought a lot of crap (outfits)")
			else
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You did not afford to buy this. (" .. PROMO_COST .. " gp)")
			end
		else
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You need a premium account to buy this.")
		end
		return false
	end

local function getPlayerMoney(cid)
	return ((getPlayerItemCount(cid, 2160) * 10000) +
	(getPlayerItemCount(cid, 2152) * 100) +
	getPlayerItemCount(cid, 2148))
end
